<template>
	<view v-if="pageShow">
		<view class="allbanner dingwei">
			<image :src="dataAll.image_text" mode=""></image>
			<!-- 律师主要信息 -->
			<view class="mainpadding radius allneiro ffffff shadow">
				<view class="flexbetween">
					<view class="touxiang">
						<image :src="dataAll.logo_text" mode="widthFix"></image>
					</view>
					<view class="" style="width: 71%;">
						<view class="titletext">{{dataAll.name}}</view>
						<view class="nostrongtext margin_top">{{dataAll.lssws}}</view>
					</view>
				</view>
				<view class="nostrongtext margin_top">擅长领域:{{dataAll.scly}}</view>
			</view>
		</view>
		<!-- 律师介绍 -->
		<view class="mainpadding " style="margin-top: 160rpx;">
			<view class="mainpadding ffffff">
				<view class="bigtext">律师介绍</view>
				<view class="huisetext1 margin_top1">
					<u-parse :content="dataAll.content"></u-parse>
				</view>
			</view>

		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				listid: "",
				dataAll: {},
				pageShow: false
			}
		},
		onLoad(options) {
			this.listid = options.id
			this.getDetail()
		},
		methods: {
			getDetail() {
				httpRequest.request('/api/index/shopDetail', 'GET', {
					id: this.listid
				}, false, false, true).then(res => {
					if (res.code == 1) {
						this.dataAll = res.data
						this.pageShow = true
					}
				}).catch(err => {
					httpRequest.toast(err.msg);
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	page {
		background-color: #f5f5f5;
	}

	.allneiro {
		position: absolute;
		bottom: -154rpx;
		right: 26rpx;
		width: 86%;
	}

	.line {
		width: 2rpx;
		height: 70rpx;
		background-color: #f5f5f5;
	}

	.sanshi {
		width: 33.33%;
	}

	.yixuanzong {
		width: 30rpx;
		height: 30rpx;
	}

	.touxiang {
		width: 160rpx;
		height: 160rpx;
		border-radius: 50%;
		image {
			border-radius: 50%;
			width: 160rpx;
			height: 160rpx;
		}
	}
</style>